package com.imagine.service.impl;

import com.imagine.entity.AgentA;
import com.imagine.mapper.AgentMapper;
import com.imagine.service.AgentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by liangyue on 2017/10/25.
 */
@Service
public class AgentServiceImpl implements AgentService {
    @Autowired
    AgentMapper agentMapper;
    @Override
    public AgentA getAgentAByName(String name){
        return  agentMapper.getAgentAByName(name);
    }
}
